package com.ithrima.waimaidemo.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.ithrima.waimaidemo.pojo.Dish;
import com.ithrima.waimaidemo.pojo.DishDto;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IDishService extends IService<Dish> {

   void saveWithFlavor(DishDto dishDto);
   DishDto getByIdWithFlavor(Long id);
   void updateWithFlavor(DishDto dishDto);
}
